home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tex / macros / packages / upref.sty < prev    next >
Encoding:
Text File  |  1995-03-15  |  2.7 KB  |  63 lines

  1. %% 
  2. %% This is file `upref.sty', generated 
  3. %% on <1995/1/27> with the docstrip utility (2.2i).
  4. %% 
  5. %% The original source files were:
  6. %% 
  7. %% upref.dtx 
  8. %%% ====================================================================
  9. %%%  @LaTeX-file{
  10. %%%     author          = "American Mathematical Society",
  11. %%%     version         = "1.2",
  12. %%%     date            = "1995/01/25",
  13. %%%     time            = "12:32:52 EST",
  14. %%%     filename        = "upref.dtx",
  15. %%%     copyright       = "Copyright (C) 1995 American Mathematical Society,
  16. %%%                        all rights reserved.  Copying of this file is
  17. %%%                        authorized only if either:
  18. %%%                        (1) you make absolutely no changes to your copy,
  19. %%%                        including name; OR
  20. %%%                        (2) if you do make changes, you first rename it
  21. %%%                        to some other name.",
  22. %%%     address         = "American Mathematical Society,
  23. %%%                        Technical Support,
  24. %%%                        Electronic Products and Services,
  25. %%%                        P. O. Box 6248,
  26. %%%                        Providence, RI 02940,
  27. %%%                        USA",
  28. %%%     telephone       = "401-455-4080 or (in the USA and Canada)
  29. %%%                        800-321-4AMS (321-4267)",
  30. %%%     FAX             = "401-331-3842",
  31. %%%     checksum        = "20561 98 414 3750",
  32. %%%     email           = "tech-support@math.ams.org (Internet)",
  33. %%%     codetable       = "ISO/ASCII",
  34. %%%     keywords        = "latex, amslatex, ams-latex, cross references",
  35. %%%     supported       = "yes",
  36. %%%     abstract        = "This is part of the AMS-\LaTeX{} distribution.
  37. %%%                        It is a package that provides printing of
  38. %%%                        \cn{\ref}s in an upright font even if the
  39. %%%                        current context is italic or slanted.",
  40. %%%     docstring       = "The checksum field above contains a CRC-16
  41. %%%                        checksum as the first value, followed by the
  42. %%%                        equivalent of the standard UNIX wc (word
  43. %%%                        count) utility output of lines, words, and
  44. %%%                        characters.  This is produced by Robert
  45. %%%                        Solovay's checksum utility.",
  46. %%%  }
  47. %%% ====================================================================
  48. \NeedsTeXFormat{LaTeX2e}
  49. \ProvidesPackage{upref}[1995/01/25 v1.2]
  50. \def\@setref#1#2#3{\ifx#1\relax
  51.     \protect\@noref{#3}%
  52.   \else
  53.     \protect\textup{\expandafter#2#1\hbox{}}%
  54.   \fi}
  55. \newcommand{\@noref}[1]{%
  56.   \G@refundefinedtrue
  57.   \nfss@text{\reset@font\bfseries ??}%
  58.   \@latex@warning{Reference `#3' on page \thepage\space undefined}%
  59. }
  60. \endinput
  61. %% 
  62. %% End of file `upref.sty'.
  63.